﻿using ReflectionStudio.Components.UserControls;
using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace WPFExcelReport
{
    public partial class TYTAB02
    {
        ApplicationBase app
        {
            get
            {
                return ApplicationBase.Instance;
            }
        }
        public DataTable TBPRG
        {
            get
            {
                return app.TBPRG;
            }
            set
            {
                app.TBPRG = value;
            }
        }
        public DataTable TBUR
        {
            get
            {
                return app.TBUR;
            }
            set
            {
                app.TBUR = value;
            }
        }
        VTYTAB02 vm;
        public TYTAB02()
        {

            vm = new VTYTAB02();
            DataContext = vm;
            InitializeComponent();
            this.Name = "生产单管理"; 
            IsCanNew = false;
            cVK02.KRS = "F" + vm.year.Substring(3, 1);
        } 

    }
}
